/**
 Copyright (C) 2008 ZHENG Zhong <http://www.zhengzhong.net/>
 
 Created on 2008-10-23.
 $Id$
 */

/*--------------------------------------------------------------------------------------------------
 * HTML elements
 *------------------------------------------------------------------------------------------------*/

body {
  font: normal normal 80% arial,sans-serif;
  color: #444444;
  background-color: #FFFFFF;
  text-align: center;
  margin: 0;
  padding: 0;
}

a, a:link, a:visited {
  text-decoration: none;
  color: #2090D0;
}

a:hover {
  text-decoration: underline;
  color: #2090D0;
}

a img {
  border-width: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Trebuchet MS',arial,sans-serif;
}

code, pre {
  font-family: 'Courier New',courier,arial, sans-serif;
  color: #444444;
}

pre {
  margin: 0;
  padding: 8px 20px 8px 20px;
  border: solid 1px #BBBBBB;
}

small {
  font-size: 90%;
}

big {
  font-size: 110%;
}

td, th {
  margin: 0;
  padding: 2px 4px 2px 4px;
  text-align: left;
  vertical-align: top;
}

/*--------------------------------------------------------------------------------------------------
 * Page layout wrappers
 *------------------------------------------------------------------------------------------------*/

#outer_wrapper {
  margin: 10px auto;
  padding: 0;
  text-align: left;
  background-color: #FFFFFF;
  width: 990px;
  border: 1px solid #DDDDDD;
}

#topbar_wrapper,
#footer_wrapper {
  margin: 0;
  padding: 10px 20px 10px 20px;
  font-family: 'Trebuchet MS',arial,sans-serif;
}

#topbar_wrapper {
  text-align: right;
  border-bottom: 1px solid #DDDDDD;
}

#footer_wrapper {
  color: #888888;
  text-align: center;
  border-top: 1px solid #DDDDDD;
}

#footer_wrapper a {
  color: #888888;
}

#header_wrapper {
  margin: 0;
  padding: 0;
}

#header_wrapper:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

#header_wrapper .left {
  margin: 0;
  padding: 10px 10px 10px 20px;
  float: left;
  display: inline;
}

#header_wrapper .right {
  margin: 0;
  padding: 20px 20px 10px 10px;
  font-family: 'Trebuchet MS',arial,sans-serif;
  text-align: right;
  float: right;
  display: inline;
}

#navbar_wrapper {
  margin: 0 0 10px 0;
  padding: 6px 20px 6px 20px;
  font-family: 'Trebuchet MS',arial,sans-serif;
  background-color: #EEEEEE;
  border-width: 1px 0 1px 0;
  border-style: solid;
  border-color: #DDDDDD;
}

#main_wrapper {
  margin: 0;
  padding: 10px 20px 10px 20px;
  line-height: 1.4em;
  height: 1%; /* IE requires this to make a container! */
}

#main_wrapper:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

#main_wrapper h1,
#main_wrapper h2,
#main_wrapper h3 {
  padding: 4px 0 4px 0;
  font-family: 'Trebuchet MS',arial,sans-serif;
  font-style: normal;
  font-weight: bold;
}

#main_wrapper h1 {
  margin: 0 0 4px 0;
  font-size: 140%;
  border-bottom: 1px solid #DDDDDD;
}

#main_wrapper h2 {
  margin: 2px 0 2px 0;
  font-size: 120%;
}

#main_wrapper h3 {
  margin: 0;
  font-size: 110%;
}

#main_wrapper p {
  margin: 0;
  padding: 4px 0 4px 0;
  line-height: 1.4em;
}

#main_wrapper ul, #main_wrapper ol {
  margin: 0;
}

#main_wrapper .section {
  margin: 0;
  padding: 4px 0 4px 0;
}

#sidebar_wrapper {
  margin: 0;
  padding: 0 10px 0 0;
  width: 180px;
  float: left;
  display: inline;
}

#sidebar_wrapper .section {
  margin: 0 0 10px 0;
  padding: 0;
}

#sidebar_wrapper .section h2 {
  font: normal bold 120% 'Century Gothic',helvetica,sans-serif;
  margin: 0;
  padding: 5px 0 10px 0;
  text-transform: uppercase;
  color: #2090D0;
}

#sidebar_wrapper .section ul {
  margin: 0px;
  padding: 0px;
  border-width: 0;
}

#sidebar_wrapper .section ul li {
  margin: 0;
  padding: 4px 16px 4px 16px;
  font-family: 'Trebuchet MS',arial,sans-serif;
  color: #666666;
  list-style: none outside none;
  border-top: 1px solid #DDDDDD;
  text-indent: -15px;
}

#sidebar_wrapper .section ul li a {
  color: #666666;
}

#sidebar_wrapper .section p {
  margin: 0;
  padding: 4px 0 4px 0;
  font-family: 'Trebuchet MS',arial,sans-serif;
  color: #666666;
}

#content_wrapper {
  margin: 0;
  padding: 0 0 0 4px;
  width: 750px;
  float: right;
  display: inline;
}


/*--------------------------------------------------------------------------------------------------
 * Prompt
 *------------------------------------------------------------------------------------------------*/

.prompt {
  margin: 10px 0 10px 0;
  padding: 10px;
}

.info {
  background-color: #E8EEFA;
  border: 1px solid #C3D9FF;
}

.error {
  background-color: #FAFDCE;
  border: 1px solid #FACC00;
}

.no_ie {
  margin: 10px 0 10px 0;
  padding: 10px;
  background-color: #FAFDCE;
  border: 1px solid #FACC00;
}

.no_ie p {
  margin: 0;
  padding: 2px 0 2px 0;
}

/*--------------------------------------------------------------------------------------------------
 * Button link (TODO: absolute path to images)
 *------------------------------------------------------------------------------------------------*/

.button_link {
  margin: 4px 0 4px 0;
  padding: 10px 20px 10px 20px;
  font: normal bold 120% 'Trebuchet MS',arial,sans-serif;
  color: #FFFFFF;
  background-color: #2090D0;
  border-width: 1px;
  border-style: solid;
  border-left-color: #60D0FF;
  border-top-color: #60D0FF;
  border-right-color: #0060B0;
  border-bottom-color: #0060B0;
}

.button_link a {
	color: #FFFFFF;
	text-decoration: none;
}

/*
div.button_link {
	margin: 0;
	padding: 8px 0 8px 0;
}

div.button_link div {
	margin: 0 auto;
	background: url("/static/foodsnroses/images/blue_button.gif") no-repeat 0% 0%;
  font: normal bold 120% 'Trebuchet MS',arial,sans-serif;
	width: 160px;
	text-align: center;
}

div.button_link div span {
	display: block;
	background: url("/static/foodsnroses/images/blue_button.gif") no-repeat right -400px;
}

div.button_link div span span {
  background: url("/static/foodsnroses/images/blue_button.gif") no-repeat left bottom;
}

div.button_link div span span a {
	padding: 8px 4px 14px 10px;
	color: #FFFFFF !important;
	background: url("/static/foodsnroses/images/blue_button_corner.gif") no-repeat right bottom;
	display: block;
	text-decoration: none;
	font-weight: bold;
}
*/

/*--------------------------------------------------------------------------------------------------
 * Common CSS classes
 *------------------------------------------------------------------------------------------------*/

.shadow, .shadow a {
  color: #FFFFFF;
}

.hidden {
  display: none;
}

.clear {
  clear: both;
}

.nowrap {
  white-space: nowrap;
}

.hr {
  margin: 0 0 4px 0;
  padding: 4px 0 0 0;
  border-bottom: 1px solid #DDDDDD;
}

.na {
  color: #888888;
}

.bordered {
  border-width: 1px;
  border-style: solid;
  border-color: #888888;
}

.noborder {
  border-width: 0;
  border-style: none;
}


